import axios from 'axios';
import { loginreq, req } from './axiosFun';



/**
 * 订单管理
 **/
// 订单管理-获取采购订单列表
export const purchaseOrderList = (params) => { return req("post", "/api/purchaseOrder/list/page", params) };

// 用户管理-保存
export const OrderSave = (params) => { return req("post", "/api/sysUser/save", params) };
// 用户管理-编辑
export const OrderEdit = (params) => { return req("post", "/api/sysUser/edit", params) };

// 用户管理-删除用户
export const OrderDelete = (params) => { return axios.delete("/api/sysUser/del/" + params).then(res => res.data) };
// 用户管理-修改状态
export const OrderStatus = (params) => { return req("post", "/api/sysUser/edit", params) };
// 用户管理-批量删除
export const OrderBatchDel = (params) => { return req("post", "/api/sysUser/del/batch", params) };
